package com.hyt.it.ogt.ykcj.common.enums;

/**
 * 任务状态
 * 
 * @author admin
 */
public enum TaskStatus
{
    PROCESSING(0, "处理中"), SUCCESS(1, "处理成功"), FAIL(2, "处理失败");

    private int code;
    private String desc;

    TaskStatus(int code, String desc)
    {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
